﻿<!-- 无需完整HTML结构，仅保留页面主体 -->
<div class="card shadow-sm mb-4">
    <div class="card-header bg-primary text-white">
        <h5 class="card-title mb-0">@Model.Title</h5>
    </div>
    <div class="card-body">
        <div class="table-responsive">
            <table class="table table-hover table-bordered">
                <thead class="table-light">
                    <tr>
                        <th>记录ID</th>
                        <th>货品名称</th>
                        <th>入库数量</th>
                        <th>操作人</th>
                        <th>入库时间</th>
                    </tr>
                </thead>
                <tbody>
                    @foreach (var record in Model.Records)
                    {
                            <tr>
                                <td>@record.Id</td>
                                <td>@record.GoodsName</td>
                                <td>@record.Quantity</td>
                                <td>@record.Operator</td>
                                <td>@record.Time</td>
                            </tr>
                    }
                </tbody>
            </table>
        </div>
    </div>
</div>

<!-- （可选）页面专属JS：会被site.js的executeInlineScript执行 -->
<script>
    $(function () {
        console.log("入库管理页面初始化完成");
        // 可添加表格点击事件、弹窗逻辑等
    });
</script>